﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;

using DQYT.HTDZ.BLL;
using DQYT.HTDZ.Model;
namespace DQYT.HTDZ.Web.BDDATATABLE
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					decimal TABLE_ID=(Convert.ToDecimal(strid));
					ShowInfo(TABLE_ID);
				}
			}
		}
		
	private void ShowInfo(decimal TABLE_ID)
	{
		BDDATATABLEBLL bll=new BDDATATABLEBLL();
		BDDATATABLEModel model=bll.GetModel(TABLE_ID);
		this.lblTABLE_ID.Text=model.TABLE_ID.ToString();
		this.lblTABLE_CODE.Text=model.TABLE_CODE;
		this.lblTABLE_NAME.Text=model.TABLE_NAME;
		this.lblDESCTRIPTION.Text=model.DESCTRIPTION;

	}


    }
}
